import store from '@/store'
export const tableOptionEle = {
  "border": true,
  "index": true,
  "indexLabel": "序号",
  "stripe": true,
  "menuAlign": "center",
  "align": "center",
  menu:false,
  header:false,
  "column": [
	  {
      "type": "input",
      "label": "唯一标识",
      "prop": "id",
      hide:true,
    },	  {
      "type": "select",
      "label": "TVM编号",
      "prop": "tvmCode",
      filterable: true,
      width: 150,
      dicUrl: '/support/swpmtvmcode/page',
      props: {
        label: 'tvmCode',
        value: 'tvmCode',
        res: 'data.records'
      },
	  dicQuery: {
		  size: -1,
		  stationCode: store.getters.userInfo.stationCode,
		  status: '1'
	  },
      cell: true,
    },	  {
      "type": "input",
      "label": "主表关联ID",
      "prop": "relationId",
      hide:true,
    },	  {
      "type": "number",
      "label": "故障退款",
      "prop": "faultRefundAmount",
      "precision": 2,
      cell: true,
      hide: true
    },	  {
      "type": "number",
      "label": "售票总计",
      "prop": "sellTicketMoney",
      "precision": 2,
      cell: true,
      step: 0,
      //maxRows:9999
    },	  {
      "type": "number",
      "label": "充值总计",
      "prop": "rechargeMoney",
      "precision": 2,
      cell: true,
      step: 0,
      //maxRows:9999
    },	  {
      "type": "datetime",
      "label": "开始时间",
      "prop": "startTime",
      width: 205,
      cell: true,
      format: 'yyyy-MM-dd HH:mm:ss',
      valueFormat: 'yyyy-MM-dd HH:mm:ss',
    },	  {
      "type": "datetime",
      "label": "结束时间",
      "prop": "endTime",
      width: 205,
      cell: true,
      format: 'yyyy-MM-dd HH:mm:ss',
      valueFormat: 'yyyy-MM-dd HH:mm:ss',
    },	  {
      "type": "input",
      "label": "创建时间",
      "prop": "createTime",
      hide:true,
    },	  {
      "type": "input",
      "label": "数据更新时间",
      "prop": "updateTime",
      hide:true,
    },	  {
      "type": "input",
      "label": "删除标志 1：删除 0：未删",
      "prop": "delFlag",
      hide:true,
    }  ]
}
